"]" />
SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 65726: Incorrect code is generated for the SQL Join transformation when you use a PROC SQL pass-through query for an Impala table

DetailsHotfixAboutRate It

Incorrect query code might be generated when you use the SQL Join transformation in SAS® Data Integration Studio and a Cloudera Impala database table is the target table for the transformation. In addition, you can see the following error message:

MessageParameters=["HY000","AnalysisException: Impala does not support modifying non-Kudu table: <table-name>"]

The incorrect query can be generated when the following options are set in the properties for the SQL Join transformation: 

  • Pass Through is set to Yes
  • Target Table Pass Through is set to Yes
  • Target Table Pass Through Action is Truncate

The SQL Join transformation uses the DELETE statement to remove all records from the Impala table. Impala does not support the DELETE statement. Instead, Impala supports the TRUNCATE statement to remove records from the table, beginning in Cloudera Distribution Hadoop 5.5 or a later version.  

The workaround for the issue is to modify the SQL procedure pass-through code, by changing the DELETE statement to a TRUNCATE statement. Refer to Cloudera documentation for the proper syntax.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Data Integration StudioMicrosoft® Windows® for x644.9044.9059.4 TS1M69.4 TS1M7
Microsoft Windows 8 Enterprise 32-bit4.9044.9059.4 TS1M69.4 TS1M7
Microsoft Windows 8 Enterprise x644.9044.9059.4 TS1M69.4 TS1M7
Microsoft Windows 8 Pro 32-bit4.9044.9059.4 TS1M69.4 TS1M7
Microsoft Windows 8 Pro x644.9044.9059.4 TS1M69.4 TS1M7
Microsoft Windows 8.1 Enterprise 32-bit4.9044.9059.4 TS1M69.4 TS1M7
Microsoft Windows 8.1 Enterprise x644.9044.9059.4 TS1M69.4 TS1M7
Microsoft Windows 8.1 Pro 32-bit4.9044.9059.4 TS1M69.4 TS1M7
Microsoft Windows 8.1 Pro x644.9044.9059.4 TS1M69.4 TS1M7
Microsoft Windows 104.9044.9059.4 TS1M69.4 TS1M7
Microsoft Windows Server 2012 Datacenter4.9044.9059.4 TS1M69.4 TS1M7
Microsoft Windows Server 2012 R2 Datacenter4.9044.9059.4 TS1M69.4 TS1M7
Microsoft Windows Server 2012 R2 Std4.9044.9059.4 TS1M69.4 TS1M7
Microsoft Windows Server 2012 Std4.9044.9059.4 TS1M69.4 TS1M7
Microsoft Windows Server 20164.9044.9059.4 TS1M69.4 TS1M7
Microsoft Windows Server 20194.9044.9059.4 TS1M69.4 TS1M7
Windows 7 Enterprise 32 bit4.9044.9059.4 TS1M69.4 TS1M7
Windows 7 Enterprise x644.9044.9059.4 TS1M69.4 TS1M7
Windows 7 Home Premium 32 bit4.9044.9059.4 TS1M69.4 TS1M7
Windows 7 Home Premium x644.9044.9059.4 TS1M69.4 TS1M7
Windows 7 Professional 32 bit4.9044.9059.4 TS1M69.4 TS1M7
Windows 7 Professional x644.9044.9059.4 TS1M69.4 TS1M7
Windows 7 Ultimate 32 bit4.9044.9059.4 TS1M69.4 TS1M7
Windows 7 Ultimate x644.9044.9059.4 TS1M69.4 TS1M7
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.